<!DOCTYPE html>
<html lang="en" ng-app="app" ng-controller="AppController">
<head>
    <meta charset="UTF-8">
    <title ng-bind="title"></title>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="css/index.css">

</head>
<body>
<!--导航栏-->
<nav></nav>

<!--利用多视图创建一个页面展示多个模板-->
<div ui-view="home" ng-show="type == 'home'"></div>
<div ui-view="shop" ng-show="type == 'shop'"></div>
<div ui-view="hot" ng-show="type == 'hot'"></div>
<div ui-view="me" ng-show="type == 'me'"></div>



<!--标签栏-->
<tabber></tabber>

<script>
    var font = window.screen.width / 10 + 'px';
    document.getElementsByTagName('html')[0].style.fontSize = font;
</script>

<script src="lib/angular/angular.js"></script>
<script src="lib/angular-ui-router/release/angular-ui-router.js"></script>
<script src="js/index.js"></script>
</body>
</html>